package com.thon.dao.user;

import com.thon.dao.util.BaseDao;
import com.thon.dao.util.Page;
import com.thon.entity.user.FundDetail;

/**
 * @author THON
 * @mail thon.ju@meet-future.com
 * @date 2012-2-13 下午05:17:17
 * @description
 */
public interface FundDetailDao extends BaseDao<FundDetail> {
	public Page<FundDetail> finDetailsByProject(Page<FundDetail> page,
			Integer projectId);

	public Page<FundDetail> finDetailsByUser(Page<FundDetail> page,Integer status,
			Integer userId);

	public Page<FundDetail> finDetailsByUser(Page<FundDetail> page,
			Integer userId, String start);
	
	public FundDetail getFundDetail(String tradeNo);
	
	public FundDetail getFundDetail(Integer userId);
	
	public Page<FundDetail> findDetails(Page<FundDetail> page,int actionType);

	public Integer getSumDetailByUser(Integer id);
}
